package com.sntra.beibi.service;

import com.itextpdf.kernel.pdf.canvas.PdfCanvas;
import com.sntra.beibi.domain.Dot;

public interface PenService {

	void onDown(float pointX, float pointY, int force);

	void onMove(float pointX, float pointY, int force);

	void onUp(float pointX, float pointY, int force, PdfCanvas canvas);
	
	void setPenWidth(float penWidth);
	
    void processDot(Dot dot, int bgSize, double pageSize, PdfCanvas canvas,float width,float height);
	
	float transformWidth(float width, float dpi);

}